package skiree.host.abetsy.service;

import org.springframework.scheduling.annotation.Async;
import skiree.host.abetsy.model.LocalAnime;
import skiree.host.abetsy.model.LocalComment;
import skiree.host.abetsy.model.ddp.SearchEpisodes;
import skiree.host.abetsy.model.ddp.SearchAnime;

import java.util.List;

public interface LocalService {

    LocalAnime handleAnimeName(String anime);

    List<SearchEpisodes> searchByLocal(String anime, String episode);

    List<SearchAnime> searchAnimeByLocal(String keyword);

    List<SearchEpisodes> onSearchByLocal(String anime);

    List<LocalComment> commentByLocal(String episodeId);

    @Async
    void handleUnknownAnime(String anime, String episodeNum);
}
